$OpenBSD: patch-doc_Makefile_in,v 1.3 2009/08/03 21:29:47 martynas Exp $
--- doc/Makefile.in.orig	Sat Aug  1 09:53:41 2009
+++ doc/Makefile.in	Sun Aug  2 22:02:05 2009
@@ -227,7 +227,7 @@ build_vendor = @build_vendor@
 builddir = @builddir@
 datadir = @datadir@
 datarootdir = @datarootdir@
-docdir = @docdir@
+docdir = $(DESTDIR)$(DOCDIR)
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
 host = @host@
